<template>
  <div class="app-container home" style="border-top-left-radius: 0;">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="24">
        <el-row>

        </el-row>
      </el-col>
    </el-row>


  </div>

</template>

<script>
import { get } from 'lodash'
import { create } from 'lodash'
import { isURL } from '@/utils/validate'
import { redMixin } from '../../mixins/redMixin'

export default {
  name: 'Index',
  components: {  },
  mixins: [redMixin],
  data() {
    return {
      dataListLoading: false
    }
  },
  created() {
    this.dynamicMenuRoutes = JSON.parse(sessionStorage.getItem('dynamicMenuRoutes') || '[]')
  },
  computed: {
    mainTabs: {
      get() { return this.$store.state.common.mainTabs },
      set(val) { this.$store.commit('common/updateMainTabs', val) }
    },
    mainTabsActiveName: {
      get() { return this.$store.state.common.mainTabsActiveName },
      set(val) { this.$store.commit('common/updateMainTabsActiveName', val) }
    }
  },
  methods: {

  },
  mounted() {
},
  beforeDestroy() {
    if (!this.chart) {
      return
    }
    this.chart.dispose()
    this.chart = null
  }
}
</script>

<style scoped lang="scss">
.el-date-editor .el-range-separator {
  display: inline-block;
  height: 100%;
  padding: 0 5px;
  margin: 0;
  text-align: center;
  line-height: 32px;
  font-size: 14px;
  width: 7%;
  color: #303133;
}

.syBox.topImg {
  background-image: url("../../assets/img/sy2.png");
  background-size: cover;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.tabBox {
  padding: 12px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;

  .item {
    width: 48%;
    margin-bottom: 10px;
    background: #F5F8FF;
    border-radius: 6px 6px 6px 6px;
    padding: 5px 10px;
    margin-right: 10px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .top {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;

    .date {
      margin-right: 10px;
      width: 48px;
      text-align: center;
    }

    .name {
      flex: 1;
      display: -webkit-box;
      /* 必须设置display属性为-webkit-box */
      overflow: hidden;
      /* 超出部分隐藏 */
      text-overflow: ellipsis;
      /* 显示省略号 */
      -webkit-line-clamp: 1;
      /* 限制显示两行 */
      -webkit-box-orient: vertical;
      /* 垂直方向上的换行 */
      height: 20px;
    }
  }

  .bottom {
    font-size: 12px;
    display: flex;
    align-items: center;

    .type {
      margin-right: 10px;
    }

    .typeName {
      flex: 1;
    }
  }
}

.el-row {
  margin-bottom: 20px;

  &:last-child {
    margin-bottom: 0;
  }
}

.tzItem:hover {
  background: #fceeea;
}

.tzItem {
  display: flex;
  padding: 15px;
  margin-bottom: 15px;
  background: #FDF4F3;
  cursor: pointer;
  border-radius: 10px 10px 10px 10px;

  &:last-child {
    margin-bottom: 0;
  }

  .ztimg {
    width: 10px;
    height: 10px;
    background: #FF8964;
    border-radius: 50%;
  }

  .time {
    background: #FBE9EB;
    border-radius: 10px 10px 10px 10px;
    height: 100%;
    width: 70px;
    position: relative;
    margin-left: 20px;
    height: 65px;

    img {
      width: 20px;
      height: 20px;
      position: absolute;
      left: -10px;
      top: -10px
    }

    .time1 {
      font-weight: bold;
      font-size: 14px;
      color: #333;
      text-align: center;
      line-height: 20px;
      padding-top: 10px;
    }

    .time2 {
      font-size: 12px;
      color: #666;
      margin-top: 8px;
      text-align: center;
    }
  }

  .right {
    flex: 1;
    margin-left: 15px;

    .title {
      font-size: 14px;
      color: #666666;
      line-height: 20px;
      margin-bottom: 6px;
      display: -webkit-box;
      /* 必须设置display属性为-webkit-box */
      overflow: hidden;
      /* 超出部分隐藏 */
      text-overflow: ellipsis;
      /* 显示省略号 */
      -webkit-line-clamp: 1;
      /* 限制显示两行 */
      -webkit-box-orient: vertical;
      /* 垂直方向上的换行 */
      height: 20px;
      text-align: left;
    }

    .date {
      color: #999999;
      font-size: 14px;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

.kjrk {
  display: flex;
  justify-content: space-between;

  .kjItem {
    display: flex;
    justify-content: left;
    align-items: center;

    img {
      display: block;
      max-width: 60px;
    }

    div {
      font-size: 18px;
      font-weight: bold;
      color: #262626;
      margin-left: 20px;

    }
  }

}

.gzitem {
  flex: 1;
  cursor: pointer;

  &:first-child {
    margin-right: 4%;
  }

  background: #f9fafb;
  border: 1px dashed #FF8964;
  margin-bottom: 20px;
  padding: 11px;
  border-radius: 4px;
  width: 48%;
  float:left;

  .date {
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
    padding-right: 12px;
    position: relative;
    text-align: left;

    i {
      position: absolute;
      right: 5px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      top: 5px;
      background: #FF5150;
    }
  }

  .center {
    font-size: 12px;
    color: #333;
    line-height: 30px;
    display: -webkit-box;
    /* 必须设置display属性为-webkit-box */
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 显示省略号 */
    -webkit-line-clamp: 3;
    /* 限制显示两行 */
    -webkit-box-orient: vertical;
    /* 垂直方向上的换行 */
    height: 90px;
  }
}

.gzitem:hover {
  background: #fceeea;
}

.spimg {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 15px;
}

.spTitle {
  color: #666666;
  font-size: 16px;
  margin-bottom: 5px;
  padding-left: 60px;
}

.spValue {
  font-size: 46px;
  color: #333333;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  padding-left: 60px;

}

.spDesc {
  color: #666666;
  font-size: 14px;
  margin-left: 15px;
  font-weight: normal;
}

.syBox {
  background: #fff;
  padding: 30px;
  box-shadow: 0px 0px 12px 0px #FFEFE5;

  &.info {

    font-size: 26px;

    .left {
      color: #533F3B;
      position: relative;
      font-weight: bold;
      margin-bottom: 20px;

      >div {
        font-size: 22px;
        margin-top: 10px;
        font-weight: bold;
      }
    }

    .right {
      img {
        width: 24px;
        height: 24px;
        margin-right: 14px;
        margin-bottom: 14px;
        float: left;
      }

      color:#FF8964;
      margin-left: 100px;
      position: absolute;
      right:20px;
      font-size: 18px !important;
      font-weight: normal !important;
      top:-7px;

    }
  }
}

.syBox2 {
  box-shadow: 0px 0px 12px 0px #FFEFE5;
  background: #fff;
  padding: 20px;
  border-radius: 20px;

  .el-date-editor .el-range-separator {
    display: inline-block;
    height: 100%;
    padding: 0 5px;
    margin: 0;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    width: 7% !important;
    color: #303133;
  }

  .topTitle {
    color: #262626;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;

    i {
      width: 3px;
      height: 16px;
      background: #FF8964;
      float: left;
      margin-right: 20px;
    }
  }

  .centerBox {
    padding: 20px 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .noDate {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    img {
      height: 100%;
    }
  }

}
</style>
<style scoped>
::v-deep .el-tabs--card {
  box-shadow: 0px 4px 7px 0px rgba(188, 198, 214, 0.25);

}

::v-deep .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  border-bottom-color: #FFFFFF;
  background: #fff;
  border-radius: 20px;
  border-radius: 15px 15px 0px 0px;
  color: #262626;
}

::v-deep .el-tabs--card>.el-tabs__header .el-tabs__item {
  border: none;
  background: #DDE6EB;
  border-radius: 20px;
  border-radius: 15px 15px 0px 0px;
  color: #666;
  padding: 0 !important;
  flex: 1;
  text-align: center;
}

::v-deep .el-tabs--card>.el-tabs__header .el-tabs__nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: none;
}

::v-deep .el-tabs--card>.el-tabs__header {
  border: none;
  margin-bottom: 0;
}

.hyItem {
  width: 100%;
  background: #FFEFE5;
  border-radius: 10px;
  border: 1px solid #FF8964;
  display: flex;
  padding: 15px 20px;
  align-items: center;
  margin-top: 10px;

  .hyicon {
    margin-right: 15px;
    color: #FF8964;
    font-size: 26px;
  }

  .hyDesc {
    flex: 1;
    display: flex;
    flex-direction: column;

    .top {
      font-size: 14px;
      color: #533F3B;
    }

    .bottom {
      font-size: 12px;
      color: #81615B;
      display: flex;
      justify-content: space-between;
    }
  }
}

.el-date-editor .el-range-separator {
  width: 7%;
}
</style>
